
echo %0

pushd %~dp0

REM CMAKE_BUILD_TYPE Debug Release RelWithDebInfo MinSizeRel


set CMAKE_EXE=D:/ProgramData/Android/Sdk/cmake/3.22.1/bin/cmake.exe
set NDK=D:/ProgramData/Android/Sdk/ndk/27.2.12479018
set BUILD_DIR=./build_android

%CMAKE_EXE%  -S .  -B %BUILD_DIR%  -G Ninja -DCMAKE_TOOLCHAIN_FILE=%NDK%/build/cmake/android.toolchain.cmake  -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=34  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%BUILD_DIR%/install


%CMAKE_EXE% --build %BUILD_DIR% --target install

REM %CMAKE_EXE% --install %BUILD_DIR%

popd